package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.pojo.OssImages;
import org.springframework.web.multipart.MultipartFile;

/**
 * @auther wangchenghao
 * @date 2020/7/25
 **/
public interface OssImagesService {
    void addImg(OssImages ossImages, BaseModel model) throws Exception;
    void upImg(OssImages ossImages,BaseModel model) throws Exception;
    void deleteImg(OssImages ossImages,BaseModel model) throws Exception;
    void getImg(OssImages ossImages,BaseModel model) throws Exception;
    void getImgbyid(int imageid,BaseModel baseModel)throws Exception;
    void setOssimage(MultipartFile file, BaseModel model) throws Exception;
    void getImagebyname(String name,BaseModel model)throws Exception;
    void getImagebytag(String tag,BaseModel model)throws Exception;
    OssImages setImage(MultipartFile file) throws Exception;
}
